package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 物流信息表 物流信息表
 *
 * @author WeiZiDong
 */
@Table(name = "`ums_logistics_info`")
@Data
@ApiModel("物流信息表物流信息表")
public class UmsLogisticsInfo implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "id", example = "1")
    private Integer id;
    @Column(name = "`business_id`")
    @ApiModelProperty(value = "用户ID（物流商家id）", example = "String")
    private String businessId;
    @Column(name = "`business_name`")
    @ApiModelProperty(value = "物流公司名称", example = "String")
    private String businessName;
    @Column(name = "`business_tel`")
    @ApiModelProperty(value = "物流公司电话", example = "String")
    private String businessTel;
    @Column(name = "`business_contacts`")
    @ApiModelProperty(value = "物流公司联系人", example = "String")
    private String businessContacts;
    @Column(name = "`business_logo`")
    @ApiModelProperty(value = "物流公司logo", example = "String")
    private String businessLogo;
    @Column(name = "`logistics_type`")
    @ApiModelProperty(value = "物流类型1-普通物流；2-汽运；3-空运", example = "String")
    private String logisticsType;
    @Column(name = "`billing_plan`")
    @ApiModelProperty(value = "计费方式1-按重量；2-大件；3-小件", example = "String")
    private String billingPlan;
    @Column(name = "`billing_unit_price`")
    @ApiModelProperty(value = "计费单价", example = "1")
    private Integer billingUnitPrice;
    @Column(name = "`start_city`")
    @ApiModelProperty(value = "始发城市", example = "String")
    private String startCity;
    @Column(name = "`destination_city`")
    @ApiModelProperty(value = "目的地城市", example = "String")
    private String destinationCity;
    @Column(name = "`arrival_time`")
    @ApiModelProperty(value = "预计到达时间", example = "2019-05-05 17:55:31")
    private Date arrivalTime;
    @Column(name = "`delete_status`")
    @ApiModelProperty(value = "删除状态0-&gt;未删除；1-&gt;已删除", example = "1")
    private Integer deleteStatus;
    @Column(name = "`revision`")
    @ApiModelProperty(value = "乐观锁", example = "1")
    private Integer revision;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新时间", example = "2019-05-05 17:55:31")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}
